package ex.com.jm.food.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 优惠活动实体
 * @author zhaojw
 *
 */
@Entity
@Table(name="jm_companydiscount")
public class CompanyDiscount implements Serializable {

	private static final long serialVersionUID = 1L;

	@Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name="cd_id",nullable=false,unique=true,length=11)
	private Integer cdId;
	@Column(name="cd_name",nullable=false,unique=true,length=32)
	private String cdName;
	@Column(name="created",nullable=false,length=32)
	private String created;
	public Integer getCdId() {
		return cdId;
	}
	public void setCdId(Integer cdId) {
		this.cdId = cdId;
	}
	public String getCdName() {
		return cdName;
	}
	public void setCdName(String cdName) {
		this.cdName = cdName;
	}
	public String getCreated() {
		return created;
	}
	public void setCreated(String created) {
		this.created = created;
	}

}
